package com.example.db.entity;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.math.BigDecimal;

/**
 * @author L.xf
 * @date 2021/10/27
 */
@Data
@Table(name ="t_order_item")
@Entity
public class OrderItem extends BaseEntity {

    private Long orderId;
    private Long itemId;
    private String itemName;
    private BigDecimal itemPrice;
    private Integer num;
}
